package com.koocloud.electroplatemanage.mapper;


import com.koocloud.electroplatemanage.pojo.reportformpojo.CompletionItemNumsVo;
import com.koocloud.electroplatemanage.pojo.reportformpojo.PersonUnCompletionItemNumsVo;
import com.koocloud.electroplatemanage.pojo.reportformpojo.UnCompletionItemNumsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ReportFormMapper {

    //完成情况统计项数
    String completionItemNums(@Param("startDate")String startDate, @Param("endDate")String endDate,
                              @Param("startResidenceTime")String startResidenceTime,
                              @Param("endResidenceTime")String endResidenceTime);

    //未完成情况统计项数
    String unCompletionItemNums(@Param("startDate")String startDate, @Param("endDate")String endDate,
                                                      @Param("startResidenceTime")String startResidenceTime,
                                                      @Param("endResidenceTime")String endResidenceTime);

    //查看人员
    List<PersonUnCompletionItemNumsVo> selectOperator();
    //人员未完成情况统计项数 总数
    List<PersonUnCompletionItemNumsVo> personUnCompletionItemNums(@Param("startDate")String startDate, @Param("endDate") String endDate);

    //人员未完成情况统计项数 停留7天以上
    List<PersonUnCompletionItemNumsVo> personUnCompletionItemNumsStaySeven(@Param("startDate")String startDate, @Param("endDate") String endDate);

    //人员未完成情况统计项数 停留15天以上
    List<PersonUnCompletionItemNumsVo> personUnCompletionItemNumsStayFifteen(@Param("startDate")String startDate, @Param("endDate") String endDate);
}
